package com.loong.user.model;

import com.loong.common.mybatis.entity.BaseEntity;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "user_member_setting")
public class MemberSetting extends BaseEntity {
    /**
     * 会员id
     */
    @Column(name = "member_id")
    private Long memberId;

    /**
     * vip状态
     */
    @Column(name = "vip_status")
    private Integer vipStatus;

    /**
     * 层级状态
     */
    @Column(name = "member_level_status")
    private Integer memberLevelStatus;

    /**
     * 咨询推送
     */
    @Column(name = "news_push_enable")
    private Byte newsPushEnable;

    /**
     * 订单提醒方式1 推送 2电话 3 短信
     */
    @Column(name = "order_notification")
    private Integer orderNotification;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;
}